<template>
  <div>
    <h4>我是一级路由</h4>

    <div>
      <router-view></router-view>
      <h4>上面是二级路由的出口</h4>
    </div>

    <ul>
      <li>
        <router-link to="/Aa">AA</router-link>
      </li>
      <li>
        <router-link to="/Bb">BB</router-link>
      </li>
      <li>
        <router-link to="/Cc">CC</router-link>
      </li>
      <li>
        <router-link to="/Dd">DD</router-link>
      </li>
    </ul>
  </div>
</template>
 
<script>
export default {
  name: '',
  components: {},
  props: {},
  data() {
    return {}
  },
  computed: {},
  watch: {},
  created() {},
  methods: {}
}
</script>

<style scoped>
ul {
  display: flex;
}
li {
  list-style: none;
  margin-right: 20px;
}
</style>